#include <windows.h>
#include <stdio.h>

#include <encrypt.h>
#include <mTestUnit.h>

void T_des( void * ptr )
{
	mTestCase * TestCase = (mTestCase *) ptr;
	char source[] = "azerty",
      dest[256],
      dest2[256];

	des_encipher( source, dest, "chabada" );
	des_decipher( dest, dest2, "chabada" );

	mAssertStrEquals( TestCase, source, dest2, "des_encipher / des_decipher" );
}
